package com.xbongbong.paas.domain.dao;


import com.xbongbong.paas.domain.entity.ManualSignEntity;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;


@Repository
@Mapper
public interface ManualSignDao {

    /**
     * 主键查询
     * @param userId
     * @param corpid
     * @return
     */
    ManualSignEntity getByUserId(@Param("userId") String userId, @Param("corpid") String corpid);

    /**
     * insert
     * @param entity
     * @return
     */
    Integer insert(ManualSignEntity entity);

    /**
     * update
     * @param entity
     * @return
     */
    Integer update(ManualSignEntity entity);

}